ODBC > Using the ODBC Driver > Naming Tables and Columns

Naming Tables and Columns

Use the following guidelines to name tables, columns, and field data.

Running ODBC Batch Files

The table and column names can be shown by running the batch files installed in the CygNet\Support\ODBC\Queries folder. Run the following batch files to create .txt files containing the data.

Note: The batch file command-line syntax requires that the site, service, and table names are in all lowercase.

Batch File Description Command Line

oatables.bat

Names of tables in a service

For all services:

oatables

For a specific service:

oatables site service

oacolumns.bat

Names of columns in a table

oacolumns site service table name

oastats.bat

Names of indexes on each table (used for query optimization)

oastats site service table name


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.